package com.itheima.tlias.service;

import com.itheima.tlias.dto.*;
import com.itheima.tlias.entity.Emp;
import com.itheima.tlias.vo.EmpListVo;
import com.itheima.tlias.vo.EmpVo;
import com.itheima.tlias.vo.LoginVo;
import com.itheima.tlias.vo.PageBean;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface EmpService  {

    PageBean<EmpListVo> empPage(EmpListDto empListDto) ;


    void addEmp(AddEmpDto addEmpDto);

    void deleteByIds(List<Integer> ids);

    EmpVo getById(Integer id);

    void updateEmp(UpdateEmpDto dto);

    List<Emp> empListByJob();

    LoginVo login(LoginDto dto);

    void amendPassword(ChangePasswordDto dto, HttpServletRequest servletRequest);
}
